﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace gerecord.Command
{

    public class EntityCommand<TKey, TEntity>:ICommand
    {
        public int ID { get { return CommandList.Entity; } }

        public string Seq { get; set; }

        public long MVersion { get; set; }
        public TKey Key { get; set; }
        //Entity 为空代表 load失败了
        public TEntity Entity { get; set; }
    }
}
